- Posts: 2
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
{q.code} or {insertans} in end message
- bmott
- Topic Author
- Offline
- New Member
Less
More
9 years 10 months ago #109837
by bmott
{q.code} or {insertans} in end message was created by bmott
I need to use {q.code} or {insertans} to call upon an answer from a radio button list question in my end message. It shows me a red box error EVERY TIME, I've checked it many times to make sure it is right. I can call upon the answers of any other type of question, except for the radio button one! So frustrating!
Anyone know what is wrong?
Thanks,
Brandon
Anyone know what is wrong?
Thanks,
Brandon
The following user(s) said Thank You: Harris
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
9 years 10 months ago - 9 years 10 months ago #109839
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic {q.code} or {insertans} in end message
Hello,
If question code of your radio question is "Q1", you have to use {Q1.shown} to display (or re-use) the given answer.
If question code of your radio question is "Q1", you have to use {Q1.shown} to display (or re-use) the given answer.
Code:
<table> <tr> <td >Questions </td> <td> : Answers</td> </tr> <tr> <td>{Q1.question} </td> <td> : {Q1.shown}</td> </tr> </table>
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last edit: 9 years 10 months ago by Ben_V.
The following user(s) said Thank You: bmott
The topic has been locked.
- bmott
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
9 years 10 months ago #109908
by bmott
Replied by bmott on topic {q.code} or {insertans} in end message
Thank you! This finally solved my problem
The topic has been locked.